package cn.xiongxf.org.service;

import cn.xiongxf.basic.service.BaseService;
import cn.xiongxf.org.domain.Shop;
import cn.xiongxf.org.domain.ShopAuditLog;
import cn.xiongxf.org.domain.ShopDto;

import javax.mail.MessagingException;
import java.util.List;

/**
 * 业务接口：部门
 */
public interface ShopService extends BaseService<Shop> {

    void settlement(Shop shop);

    void auditPass(ShopAuditLog log) throws MessagingException;

    void auditReject(ShopAuditLog log) throws MessagingException;

    void active(Long id);

    List<ShopDto> getCountByState();

    void patchAdd(List<Shop> shops);
}
